import pyttsx3
import io
import sys
sys.stdout = io.TextIOWrapper(sys.stdout.buffer, encoding='utf-8')

engine = pyttsx3.init()
engine.setProperty('voice', 'zh')
rate=engine.getProperty('rate')
engine.setProperty('rate',150)
print(rate)
content='@吴磊,重新提交一下VDB到灯光，提交到cache里并附上notes'#'你好'
engine.say(content)
engine.runAndWait()
# f = open("result.txt", 'r')
# line = f.readline()
# while line:
#  line = f.readline()
#  engine.say(line)
# engine.runAndWait()
# f.close()
